/*******************************************************************************
 * 版权：北京润尼尔网络科技有限公司，保留所有版权<br>
 * 版本：v1.0.0<br>
 * 文件：AutoclaveIndicatorTapes.js<br>
 * 日期：2019年9月25日<br>
 * 作者: 吕绮<br>
 * 功能：高温灭菌指示带<br>
 * 
 * 修改记录：<br>
 * 日期 描述 更新功能<br>
 ******************************************************************************/

window.makeNamespace(window, "Rainier.UI.V2.Communication");

/**
 * 类型名称：Rainier.UI.V2.Communication.AutoclaveIndicatorTapes<br>
 * 类型功能：高温灭菌指示带<br>
 * 接口函数：无<br>
 * 成员变量：无<br>
 */
Rainier.UI.V2.Communication.AutoclaveIndicatorTapes =
{
	//定义使用的模型为.model，实例化类名称
	type: 'Rainier.UI.V2.PmsModel',

	//定义界面属性
	uiProperty: {
		width: 108,
		height: 108,
		imageWidth: 108,
		imageHeight: 108,
		imageString:
			''
	},

	//定义端口列表
	portList:
		[
			{
				type: 'Rainier.UI.V2.InputPortModel',
				portType: 'D',

				uiProperty: {
					radius: 2,
					bgColor: '#ff0000',
				},

				modelProperty: {
					name: 'n1',
					id: 1,
					node: -1,

					locator: {
						type: 'default',
						x: 0,
						y: 54
					},

				},
			},

			{
				type: 'Rainier.UI.V2.InputPortModel',
				portType: 'D',

				uiProperty: {
					radius: 2,
				},

				modelProperty: {
					name: 'n2',
					id: 2,
					node: -1,

					locator: {
						type: 'default',
						x: 54,
						y: 0
					},

				},
			},

			{
				type: 'Rainier.UI.V2.OutputPortModel',
				portType: 'D',

				uiProperty: {
					radius: 2,
					bgColor: '#000000',
				},

				modelProperty: {
					name: 'n3',
					id: 3,
					node: -1,

					locator: {
						type: 'default',
						x: 108,
						y: 54
					},

				},
			},

			{
				type: 'Rainier.UI.V2.OutputPortModel',
				portType: 'D',

				uiProperty: {
					radius: 2,
				},

				modelProperty: {
					name: 'n4',
					id: 4,
					node: -1,

					locator: {
						type: 'default',
						x: 54,
						y: 108
					},

				},
			},
		],

	//定义元件模型信息
	modelProperty: {
		typeName: 'AutoclaveIndicatorTapes',
		label: '',
		defaultLabel: 'M',
		componentName: '高温灭菌指示带',
		engName: 'Autoclave Indicator Tapes',
		partInfo: '高温灭菌指示带的描述',		//元件的器材信息，显示在属性栏的下方

		showInfo: {

			showLabel: {
				showable: true,
				visiable: true
			},
			showComponentName: {
				editable: false,             // 定义自定义器件的名称可编辑属性				
				showable: true,
				visiable: true
			},
			showEngName: {
				editable: true,             // 定义自定义器件的英文名称可编辑属性				
				showable: true,
				visiable: false
			},
		},

		locator: {				//不改		
			type: 'default',
			x: 0,
			y: 0
		},

		transform: {				//不改	
			angle: 0,
			flip: {
				horizontal: false,
				vertical: false
			},
		},

		additional: {
			spiceProperties: [
				//1.定义试剂单价属性
				{
					name: '',
					caption: '',
					editable: true,

					value: {
						defaultValue: '',
						value: '',
					},

					memo: '',
					unit: {
						unitType: '',
						unitOrders: '',
					},
				},
				//2.定义试剂用量属性
				{
					name: '',
					caption: '',
					editable: true,

					value: {
						defaultValue: '',
						value: '',
					},

					memo: '',
					unit: {
						unitType: '',
						unitOrders: '',
					},
				},
				//3.定义试剂第三个属性
				{
					name: '',
					caption: '',
					editable: true,

					value: {
						defaultValue: '',
						value: '',
					},

					memo: '',
					unit: {
						unitType: '',
						unitOrders: '',
					},

				},
				//4.定义试剂第四个属性
				{
					name: '',
					caption: '',
					editable: true,

					value: {
						defaultValue: '',
						value: '',
					},

					memo: '',
					unit: {
						unitType: '',
						unitOrders: '',
					},
				},
				//5.定义试剂第五个属性
				{
					name: '',
					caption: '',
					editable: true,

					value: {
						defaultValue: '',
						value: '',
					},

					memo: '',
					unit: {
						unitType: '',
						unitOrders: '',
					},
				},
				//6.定义试剂第六个属性
				{
					name: '',
					caption: '',
					editable: true,

					value: {
						defaultValue: '',
						value: '',
					},

					memo: '',
					unit: {
						unitType: '',
						unitOrders: '',
					},

				},
				//7.定义试剂第七个属性
				{
					name: '',
					caption: '',
					editable: true,

					value: {
						defaultValue: '',
						value: '',
					},

					memo: '',
					unit: {
						unitType: '',
						unitOrders: '',
					},

				},
				//8.定义试剂第八个属性
				{
					name: '',
					caption: '',
					editable: true,

					value: {
						defaultValue: '',
						value: '',
					},

					memo: '',
					unit: {
						unitType: '',
						unitOrders: '',
					},

				},
				//9.定义试剂第九个属性
				{
					name: '',
					caption: '',
					editable: true,

					value: {
						defaultValue: '',
						value: '',
					},

					memo: '',
					unit: {
						unitType: '',
						unitOrders: '',
					},

				},
				//10.定义试剂第十个属性
				{
					name: '',
					caption: '',
					editable: true,

					value: {
						defaultValue: '',
						value: '',
					},

					memo: '',
					unit: {
						unitType: '',
						unitOrders: '',
					},

				},
			],

			spiceModel: {	//示例：#SP#表示属性信息				
				sm: '',
			}
		}
	}
};
